const request = require('./request.js')

<<<<<<< HEAD
// 热映列表
export function fetchMovieList (){
	return request({
		url:'http://127.0.0.1:8000/reyin'
	})
}


// 待映列表
export function fetchWaitShownList(ci,limit){
	return request({
		url:`http://127.0.0.1:8000/daiyin?ci=1&limit=10`
	})
}

// 详情
export function details(id){
	return request({
		url:`http://127.0.0.1:8000/test?id=${id}`,
	})
}
=======
// 热映
export function fetchMovieList (ci,limit){
	return request({
		url:`https://i.maoyan.com/ajax/comingList?ci=${ci}&limit=${limit}&movieIds=&token`
	})
}

// 待映
export function fetchHaopin (ci,limit){
	return request({
		url:`https://i.maoyan.com/ajax/mostExpected?limit=${limit}&offset=${ci}&token=&optimus_uuid=E728CEF06C4411ECA585E9B40D20A168B06CCD2D43AC4EAFB4ADC7230045CA94&optimus_risk_level=71&optimus_code=10`
	})
}

>>>>>>> be9f0f7f04b0077acf68c84b06f05daa4947f61b
